home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
lang_c
/
cppdll
/
dllinit.asm
< prev
next >
Wrap
Assembly Source File
|
1990-02-21
|
408b
|
30 lines
title LibMain.asm
;memL EQU 1
?WIN = 1
?PLM = 1
.xlist
include cmacros.inc
.list
assumes CS,CODE
EXTERNFP <LibMain>
sBegin CODE
cProc LoadLib,<PUBLIC,FAR,NODATA>,<si,di>
cBegin
xor ax,ax
jcxz LoadError
push di ; hInstance
push ds ;
push cx ; heap size
call LibMain
mov ax,1
LoadError:
cEnd
sEnd CODE
end LoadLib